package org.boyan.modules.cgform.converter.bc;

import java.util.ArrayList;
import java.util.List;
import org.boyan.common.system.api.ISysBaseAPI;
import org.boyan.common.util.SpringContextUtils;
import org.boyan.common.util.oConvertUtils;
import org.boyan.modules.cgform.converter.ac.b;
import org.boyan.modules.cgform.entity.OnlCgformField;

public class c extends b {
    public c(OnlCgformField paramOnlCgformField) {
        ISysBaseAPI iSysBaseAPI = (ISysBaseAPI)SpringContextUtils.getBean(ISysBaseAPI.class);
        String str1 = paramOnlCgformField.getDictTable();
        String str2 = paramOnlCgformField.getDictText();
        String str3 = paramOnlCgformField.getDictField();
        List list = new ArrayList();
        if (oConvertUtils.isNotEmpty(str1)) {
            List list1 = iSysBaseAPI.queryTableDictItemsByCode(str1, str2, str3);
        } else if (oConvertUtils.isNotEmpty(str3)) {
            list = iSysBaseAPI.queryDictItemsByCode(str3);
        }
        this.b = list;
        this.a = paramOnlCgformField.getDbFieldName();
    }
}